package com.culturalCenter.dataCenter.service.monitor;

import com.culturalCenter.dataCenter.customEntity.responseParam.monitor.ElectricityResponse;
import com.culturalCenter.dataCenter.entity.monitor.Electricity;

import java.util.List;

/**
 * 智慧用电接口
 */
public interface ElectricService {

    /**
     * 获得redis中所有数据
     *
     * @return
     */
    List<Electricity> getAll();

    /**
     * 通过redis获取用电状态
     *
     * @return
     */
    ElectricityResponse getStatus();

}
